package com.niit.gams.service;

import com.github.pagehelper.PageInfo;
import com.niit.gams.pojo.SysUser;

public interface SysUserService {
  SysUser findUserByName(String name);

  PageInfo<SysUser> findUsersByPage(Integer curPage, Integer pageSize);

  boolean addUser(SysUser user);

  boolean delUser(Integer id);

  boolean updateUser(SysUser user);
}